Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move test fips configuration to script plugin #57251

Merged
merged 4 commits into from
Jun 1, 2020

Conversation

rjernst
Copy link
Member

@rjernst rjernst commented May 27, 2020

This commit moves the configuration of all test jvms for fips to a
script plugin. Fips testing is something very specific to the
Elasticsearch build and does not need to be passed on to plugin authors.

This commit moves the configuration of all test jvms for fips to a
script plugin. Fips testing is something very specific to the
Elasticsearch build and does not need to be passed on to plugin authors.
@rjernst rjernst requested a review from mark-vieira May 27, 2020 19:42
Copy link
Contributor

@mark-vieira mark-vieira left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

On comment, also this logic needs to get moved as well.

import org.elasticsearch.gradle.testclusters.ElasticsearchCluster

// Common config when running with a FIPS-140 runtime JVM
if (Boolean.parseBoolean(System.getProperty("tests.fips.enabled"))) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should use BuildParams.inFipsJvm here instead.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done

@rjernst
Copy link
Member Author

rjernst commented May 28, 2020

@elasticmachine run elasticsearch-ci/1

@jrodewig jrodewig changed the title Move test fips configurationt to script plugin Move test fips configuration to script plugin May 30, 2020
Copy link
Contributor

@mark-vieira mark-vieira left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@rjernst rjernst merged commit 664473d into elastic:master Jun 1, 2020
@rjernst rjernst deleted the buildsplit11 branch June 1, 2020 17:24
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-core-infra (:Core/Infra/Build)

@elasticmachine elasticmachine added the Team:Core/Infra Meta label for core/infra team label Jun 1, 2020
@rjernst rjernst added >refactoring and removed Team:Core/Infra Meta label for core/infra team labels Jun 1, 2020
rjernst added a commit to rjernst/elasticsearch that referenced this pull request Jun 1, 2020
This commit moves the configuration of all test jvms for fips to a
script plugin. Fips testing is something very specific to the
Elasticsearch build and does not need to be passed on to plugin authors.
rjernst added a commit that referenced this pull request Jun 1, 2020
This commit moves the configuration of all test jvms for fips to a
script plugin. Fips testing is something very specific to the
Elasticsearch build and does not need to be passed on to plugin authors.
rjernst added a commit that referenced this pull request Jun 1, 2020
This commit moves the configuration of all test jvms for fips to a
script plugin. Fips testing is something very specific to the
Elasticsearch build and does not need to be passed on to plugin authors.
@mark-vieira mark-vieira added the Team:Delivery Meta label for Delivery team label Nov 11, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants